package com.mrs.gauss.service.dao;

import com.mrs.gauss.model.entity.Generator;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by hecq on 2024-12-24.
 *
 * @author hecq
 * @version 0.0.1
 * @date 2024-12-24
 * @since 0.0.1
 */
@Mapper
@Component
public interface GeneratorDao {


    List<Generator> getGeneratorByPage(String name,String tags,String description,Long current, Long size);

    long updateGenerator(Generator generator);
    Generator getGeneratorOne(Long id);

    boolean deleteGenerator(Long id);

    int addGenerator(Generator generator);

}
